const PropEnum = {
  DataTypeOptions: [
    { val: 'A', name: '字符', desc: '字符串' },
    { val: 'B', name: '数值', desc: '整数、小数' },
    { val: 'C', name: '日期', desc: '日期、时间' },
    { val: 'D', name: '文件', desc: '大文本、图片' },
  ],
  dataType: {
    STR: { val: 'A', name: '字符', desc: '字符串' },
    NUM: { val: 'B', name: '数值', desc: '整数、小数' },
    DATE: { val: 'C', name: '日期', desc: '日期、时间' },
    FILE: { val: 'D', name: '文件', desc: '大文本、图片' },
  },
  viewType: {
    READ: { val: 'X1', name: '只读', desc: '字符串' },
    INPUT: { val: 'A1', name: '键盘输入', desc: '从键盘输入' },
    OPTION: { val: 'A2', name: '下拉选项', desc: '从下拉内容中选择' },
    SEARCH: { val: 'A3', name: '下拉搜索', desc: '搜索加载动态内容选择' },
    TRIGGER: { val: 'A8', name: '弹框选择', desc: '从弹框数据里面选择' },
    INT: { val: 'B0', name: '整数输入', desc: '输入整数' },
    FLT: { val: 'B1', name: '小数输入', desc: '输入小数' },
    DATE: { val: 'C0', name: '日期选择', desc: '日期选择' },
    TIME: { val: 'C1', name: '时间选择', desc: '时间选择' },
    DATETIME: { val: 'C2', name: '日期时间', desc: '日期时间' },
    TXT: { val: 'D0', name: '大文本', desc: '大文本' },
    PIC: { val: 'D1', name: '图片', desc: '图片' },
    RADIO: { val: 'E1', name: '单选按钮', desc: '单选按钮' },
    CHECK: { val: 'E2', name: '多选按钮', desc: '多选按钮' },
  },
};

export default PropEnum;